<?php
class My_View_Helper_F extends Zend_View_Helper_FormElement {
	
	public function F($name, $value = "", $attribs = null) {
		include_once ("fckeditor/fckeditor.php");
		$sBasePath = "/library/fckeditor/";
		$oFCKeditor = new FCKeditor ( $name );
		$oFCKeditor->ToolbarSet = 'Default';
		$oFCKeditor->Config ['SkinPath'] = $sBasePath . 'editor/skins/' . 'silver' . '/';
		$oFCKeditor->BasePath = $sBasePath;
		$oFCKeditor->Width = '100';
		$oFCKeditor->Height = '500';
		$oFCKeditor->Value = $value;
		return $oFCKeditor->CreateHtml ();
	}
}
?>
